g-gonzo / StarTrekvsStarWars

This is going to provide a comparison of Star Trek ships compared to Star Wars.
GNU General Public License v3.0
1 stars 1 forks source link

Logic for picking Star Trek Ship #17

Closed jostut closed 2 years ago

TerminatorJonny commented 2 years ago

Hey, found something funky when using visual studio IDE. When starting the project in debug mode an "System.IO.FileNotFoundException: 'Could not find file 'C:\QADevprojects\StarTrekvsStarWars\StarTrekvsStarWars\bin\Debug\net6.0\StarTrekShips.csv'.'" message is thrown.

2022-07-28_15h35_13

But using "dotnet run" in \StarTrekvsStarWars\StarTrekvsStarWars works and builds. So weird

TerminatorJonny commented 2 years ago

Hey, found something funky when using visual studio IDE. When starting the project in debug mode an "System.IO.FileNotFoundException: 'Could not find file 'C:\QADevprojects\StarTrekvsStarWars\StarTrekvsStarWars\bin\Debug\net6.0\StarTrekShips.csv'.'" message is thrown.

2022-07-28_15h35_13

But using "dotnet run" in \StarTrekvsStarWars\StarTrekvsStarWars works and builds. So weird

Me and Gil were able to fix this by moving the "StarTrekShips.csv" file over to "..\StarTrekvsStarWars\StarTrekvsStarWars\bin\Debug\net6.0" So maybe you'll want to move that file over, so that this exception doesn't throw when first running the project.

jostut commented 2 years ago

Hey, found something funky when using visual studio IDE. When starting the project in debug mode an "System.IO.FileNotFoundException: 'Could not find file 'C:\QADevprojects\StarTrekvsStarWars\StarTrekvsStarWars\bin\Debug\net6.0\StarTrekShips.csv'.'" message is thrown. 2022-07-28_15h35_13 But using "dotnet run" in \StarTrekvsStarWars\StarTrekvsStarWars works and builds. So weird

Me and Gil were able to fix this by moving the "StarTrekShips.csv" file over to "..\StarTrekvsStarWars\StarTrekvsStarWars\bin\Debug\net6.0" So maybe you'll want to move that file over, so that this exception doesn't throw when first running the project.

This is fixed