-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown suppression TreatAsOutOfBox #2687
Comments
I think I may have figured out the issue. |
This means the version of buildtools you are using doesn't understood the TreatAsOutOfBox string.
You need to update the version of buildtools you are using. |
Ok, that makes sense, the uwp6.1 version of buildtools we are using was snapped way back in July. |
@ericstj I found your change in buildtools dotnet/buildtools#1657 and ported it to the uwp6.1 branch dotnet/buildtools#1967
|
@ericstj you said in the other PR...
I think that is what these current errors are all about. I just need to verify that the versions listed by the errors are correct before just changing them to match. |
First step is to merely update the packageIndex. You should update it with the stable versions you shipped in 6.0. This will cause the harvesting to start picking up your last shipped package. |
So WCF never shipped any packages for UWP, we did build packages but instead of releasing them we provided them to whoever was producing the uwp meta-package. We never put a stable package for uwp6.0 on MyGet. Should we create one for this type of purpose? |
I see, so you really need to assert what you want to do going forward:
If you choose 1 it means your API is frozen, you'll only ever be able to add API in a new NETStandard version that doesn't map to a UWP version. To execute on this you just need to make sure you have placeholders and the inbox entries correctly listed in the index. If you choose 2 (which is what I was recommending) your API is not frozen, but you'll need to carry an implementation assembly which can apply and satisfy the version of the ref on all places it applies. To execute on this you need to ensure you have an implementation which applies to UAP inside the package and matches the ref. For example: building a live configuration of System.Private.ServiceModel that targets uap10.0.16299 (as well as for the ref/src projects for all your contracts). So simply updating many of your configurations to use |
Sure, one thing to consider is that 2 isn't much different than how you're handling netcoreapp, except in that case you continue to target |
Fixed with dotnet/corefx#1967 |
#2667 ported #2649 but in the uwp6.1 branch I get the following failure that we don't in Master...
E:\A_work\2035\s\wcf\Tools\Packaging.targets(1103,5): error : Unknown suppression TreatAsOutOfBox [E:\A_work\2035\s\wcf\src\System.ServiceModel.Http\pkg\System.ServiceModel.Http.pkgproj]
The uwp6.1 branch was snapped from the uwp6.0 branch which was in turn snapped from Master back in summer, so in many ways it is quite far behind Master such as buildtools versions and other dependencies.
@ericstj and @joperezr do you have any idea what I might need for this suppression to be understood?
The text was updated successfully, but these errors were encountered: