"The BaseOutputPath/OutputPath property is not set for project 'FrostyModSupport.csproj'"

I've been having trouble to turn AssetBankPlugin.csproj into a dll file and have been having the same 5 errors and not really sure on how to fix it, I mainly need help on how to set the output path in each of the csprojs in order to compile into a dll file
8 Replies
Angius
Angius5mo ago
Did you... try setting OutputPath in those csproj files?
RudyJapanHero
RudyJapanHero5mo ago
I never really knew where to type the outputpath nor what to type to set it, really sorry for sounding stupid its just that iv never really done this sort of thing before and just started like a week ago
Angius
Angius5mo ago
When you open the csproj file you'll see stuff like
<FrameworkVersion>net8.0</FrameworkVersion>
<LangVersion>12</LangVersion>
etc...
<FrameworkVersion>net8.0</FrameworkVersion>
<LangVersion>12</LangVersion>
etc...
Add <OutputPath>the/relative/path</OutputPath> underneath
RudyJapanHero
RudyJapanHero5mo ago
would it look like this? <OutputPath>F:\Git\AssetBankPlugin</OutputPath> I probably should have asked for an example of what it would look it or i could just send the csproj to make things easier to understand since i got this error after typing this out "F:\FrostyModSupport\FrostyModSupport.csproj(138,1): error MSB4067: The element <OutputPath> beneath element <Project> is unrecognized. Build FAILED. F:\FrostyModSupport\FrostyModSupport.csproj(138,1): error MSB4067: The element <OutputPath> beneath element <Project> is unrecognized. 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.65"
Angius
Angius5mo ago
Well, you placed it outside of the property group It should be inside
13 <AssemblyName>FrostyModSupport</AssemblyName>
14 <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
15 <FileAlignment>512</FileAlignment>
16 <TargetFrameworkProfile />
+17 <OutputPath>mycooloutput\</OutputPath>
18 </PropertyGroup>
13 <AssemblyName>FrostyModSupport</AssemblyName>
14 <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
15 <FileAlignment>512</FileAlignment>
16 <TargetFrameworkProfile />
+17 <OutputPath>mycooloutput\</OutputPath>
18 </PropertyGroup>
for example
RudyJapanHero
RudyJapanHero5mo ago
alright gonna try this later and see if this works tried this out and it worked but now im facing a new issue but mainly not knowing how to do the outputpath for the frostyhash.vcxproj MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... Restored F:\Git\AssetBankPlugin\AssetBankPlugin.csproj (in 482 ms). Restored F:\Git\MeshSetPlugin\MeshSetPlugin.csproj (in 482 ms). 4 of 6 projects are up-to-date for restore. C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj] Build FAILED. C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:04.30 unless its the same way but if its different would like to see an example to get a better picture
RudyJapanHero
RudyJapanHero5mo ago
can send the vcxproj if needed to help understand
RudyJapanHero
RudyJapanHero5mo ago
I'm not really sure where i would need to put the outputpath in the vcxproj iv been looking everywhere for the configuarations or a spot that would show where i would need to put the outputpath and everytime i would try to add same stuff from the csprojs myself it would keep giving me this error $ dotnet build MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... F:\Microsoft.Cpp.Default.props(53,3): warning MSB4011: "C:\Program Files\dotnet\sdk\8.0.101\Current\Microsoft.Common.props" cannot be imported again. It was already imported at "F:\FrostyHash\FrostyHash.vcxproj (3,5)". This is most likely a build authoring error. This subsequent import will be ignored. All projects are up-to-date for restore. F:\Microsoft.Cpp.Default.props(53,3): warning MSB4011: "C:\Program Files\dotnet\sdk\8.0.101\Current\Microsoft.Common.props" cannot be imported again. It was already imported at "F:\FrostyHash\FrostyHash.vcxproj (3,5)". This is most likely a build authoring error. This subsequent import will be ignored. C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj] Build FAILED. not really sure on where id need to type or add the output path for the vcxproj given that its made differently
Want results from more Discord servers?
Add your server
More Posts
API does not store keys from IdentityServer to validate tokensI have two machines, one identity server and second REST API A user through the API logs in, goes poasp.net ssl certificate?how can i set up blazor (asp.net 7) to use my ssl certificate? its issued by an authority, paid and In an ASP.NET application, what is the way to in the view to check if user authenticated and roles?I mean assuming you are using Asp.NET Identity resources and you have already scaffolded identity. IWPF Command approach.So i have MVVM, or at least I'm trying to make one, where the Command is enabling the Button Click wOpening vite with another browserI'm doing the React + ASP.NET app project template. By default Vite opens in Edge (it appears). I aAzure AI Vision Image Analysis service API not workingI'm trying to make an API call to this service with the code in the image (taken it directly from thHow can i minimize a console app to the trayI could only find outdated things online i use C# .net 8.0Where does `.csproj` get the value for `$(MauiVersion)` and other "variables"In .csproj there are lines like `Version="$(MauiVersion)"`. Where is that variable or other `$()` vaI'm working to get secrets out of our source code, into Azure Key Vault.I had been following a LinkedIn Learning course from some years ago, but I think the state of technoVery specific question about AssemblyLoadContext and Assembly ResolutionSo a bit of context: I'm developing a plugin system for modding a game (hopefully this is allowed he