Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP .Net Core Problem with Unity

$
0
0

1:

step1: Create new ASP .NET CORE by "dotnet new MVC";

step2: Create .exe by "dotnet publish -r win-x64 -c Release /p:PublishSingle=true /p:PublishTrimmed=true";

step3: The Web Page Style is missing when i log into "https://localhost:5001"(Starting the local server with the .exe);

However ,when i log the page by  order "dotnet watch run" is completely no problem.

how can i deal with the problem to fix missing page style ?

2: I wanna to use the .dll (made by the ASP .Net Core) in Unity ,how can i do ?

i used to put the .dll (order : "dotnet build ",location: bin/Debug/netcoreapp3.1/... .dll) into the Unity(Asset/Plugins/)

but it throw exception as :

"Unable to resolve reference 'Microsoft.AspNetCore.Mvc.Core'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
"

if somebody can help me ,thanks much


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>