blogifierdotnet / Blogifier

Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
https://blogifier.net
MIT License
1.29k stars 521 forks source link

Fix Azure deployment by excluding ref assemblies #79

Closed n-develop closed 6 years ago

n-develop commented 6 years ago

I tried to deploy Blogifier directly using GitHub. But the app start failed with the following message:

Cannot find compilation library location for package 'Microsoft.Win32.Registry'

To fix it I had to add the following line to the Blogifier.Web.csproj file: <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>

That fixed the deployment for me and every push is now built and deployed automatically. 😄