C
C#11mo ago
RudyJapanHero

Having Trouble setting Outputpath for FrostyHash.vcxproj

I'm not entirely sure where to set the output path in the vcxproj due to it looking different to the cproj's and need some help figuring out how to set up the outputpaths for it so i can compile the dll this is the error i am getting trying MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... All 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.03 i hope reading the vcxproj can help understand the issue and hope you can provide an example for how to set it
9 Replies
Gramore
Gramore11mo ago
I'm not super familiar but does adding <OutputPath>/build/<OutputPath> to <PropertyGroup Label="Globals"> fix it? ofc you can fiddle with it and put it in the different conditionals and make different dirs for different configs but depends on your usecase
RudyJapanHero
RudyJapanHeroOP11mo ago
trying that gives me same error, and have tried adding stuff from csproj's but that ends up giving me the same error as a result
Gramore
Gramore11mo ago
Oh wait a sec Is it an issue with using Debug instead of Developer - Debug as your configuration?
RudyJapanHero
RudyJapanHeroOP11mo ago
I would asume since i had to download this from a github link and i thought all i had to do was compile to get the dll but most of the files including this one didn't have their outputpaths set and mainly just working off of trying to set the correct outputpath sorry if i added on a bit there fairly new and asumed that these files had the paths set for compiling
Gramore
Gramore11mo ago
Dw i've been doing c# for a while and this is a bit of a nasty one Do you have a link to the repo?
mtreit
mtreit11mo ago
You realize this is not a C# project right? Might get better help on a C++ server $cpp
MODiX
MODiX11mo ago
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
Gramore
Gramore11mo ago
Yk i read '*.h' and just assumed i'd forgotten what vcxproj files were xD
RudyJapanHero
RudyJapanHeroOP11mo ago
alright, and thanks hopefully they can help with this issue
Want results from more Discord servers?
Add your server