- Posted in:
- Visual Studio 2017
- Visual Studio
- UWP
- Universal apps
- Windows 10
I was trying to create new packages for a Store application and got this error. I was updating my Nest Thermostat application and adding the new Navigation View component. Which is a great new XAML component.
The docs for the navigationview xaml control are great. But during the creation of the new store package I got this dummymodulereference error… Here is my attempt to fix it:
- cleared all nuget caches
- removed the .vs hidden folder in my solution folder
- removed in each project folder the bin and obj folder
- removed the project.lock
- Had to open my solution file in notepad++ to see that I had a project in my solution in an other (parent) dir. So had to remove bin and obj and project.lock there too.
- right click on solution in the solution explorer and restore nuget packages
- build –> rebuild solution
But unfortunately.. I Googled with Bing and found people having similar issues: https://developercommunity.visualstudio.com/content/problem/133644/internal-compiler-error-5.html
and https://developercommunity.visualstudio.com/content/problem/137629/error-on-build-for-store.html
I even removed the symbol cache (tools –> options –> debugging –> symbols –> empty symbol cache)
Also skipped the nuget restore, because creating store packages will auto restore nuget packages.
I found out that the issue was in a global nuget package:
So I added a reference in my store app project to the same nuget but a newer version. Not 1.7.1 but 2.0.0
That did not help, so I added the microsoft.net.native.compiler package to all my referenced projects.
Also no fix. Last resort: tweet to @VisualStudio because it is already listed in the vs feedback.
@VisualStudio this provided solution did not work https://t.co/WxdQVZUasL do you know a solution perhaps? Internal #compilererror pic.twitter.com/WDzx37hvQm
— JP Hellemons (@JPHellemons) November 6, 2017
Please let me know if you have a solution.