Thanx David. I thought I had those settings but I missed the compile thing.
There are some times when Harakiri seems like an option in this Business. Especially when I realised after 2 hours that %Systemdrive% wasn't an acceptable parameter in Copy FIles in Devops.
That was however I solved it. I push all pluginstuff and views into artifact folders and copy them after. That way I know I have everything I need. But your tip was obviously the best.
How do you force the Views folder to copy with the publish?
I can't get the Views content to copy with the rest of the project. I am using Copy Files in devops but they still refuse to copy.
I have tried Include Folder and and Files in Project Settings but no go.
Any ideas?
Hi Marcus,
It looks like with .Net Core these are compiled. I had the same issue the other day. I got it to work but still fixing a few other deployment issues.
You can turn the feature off to compile the views into dlls.
I cant remember the link I found but this is something on the right track. https://stackoverflow.com/questions/50778521/how-to-disable-precompiled-views-in-net-core-2-1-net-5-for-debugging
Maybe read up about. .Net Core Precompiled Views
Regards
David
Here is the link I found before. https://forums.asp.net/t/2138136.aspx
Also here is a screen shot of my project file.
Hope this helps.
Regards
David
Thanx David. I thought I had those settings but I missed the compile thing.
There are some times when Harakiri seems like an option in this Business. Especially when I realised after 2 hours that %Systemdrive% wasn't an acceptable parameter in Copy FIles in Devops.
That was however I solved it. I push all pluginstuff and views into artifact folders and copy them after. That way I know I have everything I need. But your tip was obviously the best.
is working on a reply...