candrd
candrd
CC#
Created by candrd on 11/11/2024 in #help
✅ Separate C# Dll
Hello everyone, I have a project I made in C#, but even if I change the design, the DLL changes and therefore the value I get changes. To avoid this I copied the project into the same solution and the names were the same. I changed the namespaces and made it compile as a DLL, not as an exe. But now dll project can't find the Service and Web references and I get thousands of errors that they are not defined. How do I solve this? Or can I do it in an easier way?
58 replies
CC#
Created by candrd on 1/24/2024 in #help
EF6+.NET Framework+ Postgre issue
Maybe the title is confusing but i need help, i want a really basic code first app. I researched 3 days but i can't find any solution to this problem. When i try to enable-migrations PMC gives me this error. I can share my codes if you want. My connectionString is true.So don't ask me this please.
An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.
An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.
43 replies