I have an asp.net web application project and a regular c# csproj project. My web application project doesn't see the namespace that's in my csproj project after I imported it in and added a reference to it. I have Visual Studio Enterprise 2017. Can anyone help me with this?
Asked
Active
Viewed 129 times
0
-
Is regular c# csproj project is class library project? – Krazy_Tech May 01 '20 at 15:42
-
How do I find out? – Jonathan George VanSteenburg May 01 '20 at 15:45
-
Which option you have selected while creating the project – Krazy_Tech May 01 '20 at 15:48
-
I didn't create it. Someone else did. – Jonathan George VanSteenburg May 01 '20 at 15:52
-
in Visual Studio you can open project details and check which target framework selected. are they same in both? https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-multi-targeting-overview?view=vs-2019 – Radik May 01 '20 at 17:25
-
It's a class library with .net standard 2.0 – Jonathan George VanSteenburg May 01 '20 at 18:11
-
Your questions seems to be not clearly. What is the relationship between web app and c# project? what are you ready to do about the two app? – Jack J Jun May 04 '20 at 07:17
-
The c# project has all of the engineering code that's needed for the web app. – Jonathan George VanSteenburg May 04 '20 at 12:13
-
Now, I know your meaning. You want to call a class library with .net standard 2.0 in asp.net web app. You can find the dll in the path "TestDll\bin\Debug\netstandard2.0\TestDll.dll". Then, you need to add the dll in the asp.net app. – Jack J Jun May 05 '20 at 01:39