-
Notifications
You must be signed in to change notification settings - Fork 160
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
Unable to compile with .Net Native Toolchain once Microsoft.TSS is added #8
Comments
Adding Please add this to the Nuget nuspec, the file should be output by the Nuget itself as done here for example : https://github.com/Caliburn-Micro/Caliburn.Micro/blob/287203eb5be2242946bfd354eb6d6638d0389af5/nuget/Caliburn.Micro.nuspec |
Are there any news? I'm unable to use the Nuget package on Windows IoT, however including the source code works in Debug mode. In Release mode, I get the following warning while compiling and the program crashes shortly after deploying it with a similar exception.
|
I have this same issue. We are stopped dead in our tracks from deploying to the store because of this issue. |
@amarochk is this still an issue? If so it'll block us from releasing on UWP as well. /cc @tameraw @jasmineymlo |
Evidently, yes. The TBS API is probably still blocked for store apps.
…-Andrey
On Friday, October 6, 2017, 6:05:37 PM PDT, Cristian Pop <[email protected]> wrote:
@amarochk is this still an issue? If so it'll block us from releasing on UWP as well.
/cc @tameraw @jasmineymlo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
After updating Visual Studio to 15.7.3 (Visual Studio Community 2017) and updating the Microsoft.NETCore.UniversalWindowsPlatform NuGet package to version 6.1.5, I was able to compile with Release configuration (using Microsoft.TSS 2.0.1). |
This is on a UWP app. Disabling .Net Native Toolchain works, Debug build works, both compile and run. This is on VS 2017 RC.
Here is the error, any way around this:
2> Generating code...
2> Interop code generated.
2> Generating serialization code
2> Compiling interop code
2>C:\Users\marek.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
2>C:\Users\marek.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : at System.Collections.Generic.Dictionary
2.get_Item(TKey key) 2>C:\Users\marek\.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : at SerializationAssemblyGenerator.Program.AddKnownContractsLists(McgCodeTypeDeclaration container, ContractTables tables) 2>C:\Users\marek\.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : at SerializationAssemblyGenerator.Program.GenerateDataContractSerializerHelperCode(IEnumerable
1 contracts, IEnumerable1 jsonContracts, IEnumerable
1 wcfSerializers)2>C:\Users\marek.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : at SerializationAssemblyGenerator.Program.GenerateDataContractSerializerHelper(IEnumerable
1 contracts, IEnumerable
1 jsonContracts, GeneratorSettings settings, String intermediateAssembly, IEnumerable`1 wcfSerializers)2>C:\Users\marek.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : at SerializationAssemblyGenerator.Program.Main(String[] args)
2> Generating System.Reflection.DispatchProxy proxy code.
2>C:\Users\marek.nuget\packages\microsoft.net.native.compiler\1.6.0\tools\Microsoft.NetNative.targets(691,5): error : ILT0032: Failed to compile serialization code. See the build log for error details.
The text was updated successfully, but these errors were encountered: