How can I complicate my dotnet projects and code contents?
I want to disable the readability of codes in my .Net project. Can you give me an idea how I can do it? I am open to different methods and suggestions.
Error when compiling c# code in Visual Studio Enterprise 2022
I’ve installed Microsoft Visual Code Enterprise 2022 and created a C# console app. When I’m trying to start the code, I’m getting this error: The “ResolveAppHosts” task was not given a value for the required parameter “RuntimeGraphPath”.enter image description here
dev_express_problem
hallo developers i have a big problem, i install the dev express and my children delete it , i download it again but when i setup it give me the problem
1- i can’t select more than one product (winForms)
2- i click next and save and it give the problem (
Cannot create file “D:InstallDev ExpressComponentsDevExpressUniversalTrialSetup-20240613_30- 06-24_10-07.log”. The system cannot find the path specified
)
How to create template for new files in Visual Studio 2022?
I saw in a video someone use template to quickly create Class, Interface, Struct, Enum and more when adding a new file in Visual Studio 2022. How can i set this up and create my own template? Is this an extensions or i have to create files in CommunityCommon7IDEItemTemplates folder?
Upgrading to .NET8 seems to have changed the entire structure of my project
Context:
I have a C# project that contains a platform layer consisting of 9 DLLs, several of which reference each other. Then I have a group of 20 command-line programs that use the platform layer in various ways, but don’t try to talk to each other. In other words, they are independent silos. All of these are individual sub-projects of a single solution, implemented in Visual Studio, running in VStudio 2022, based on .NET 4.8. Everything was working perfectly and building without errors.
Visual Studio cannot load ccproj project with error “The path is not relative”
I have a asp.net solution (.net framework). When I load it in VS 2022, all projects in the solution load fine except the ccproj. When I try to reload it, it says “error : The path is not relative”.
Anyone knows what it means, and how to resolve it.
How to enforce IDE0300 diagnostic in Visual Studio?
I am trying to enforce the IDE0300 in a C# project. in the .editorconfig
file located at the root of my solution, I added the following
The SDK ‘Microsoft.NET.Sdk’ specified could not be found. in Visual Studio Community 2022 version 17.10.1
I couldn’t load my project. and get the error “The SDK ‘Microsoft.NET.Sdk’ specified could not be found.
Making a list of values, saving it and assigning values to different variables in Visual studio C#
I have a text and I am trying to go through the text line by line and split the word based on “:” and the word before it is key and after it is value. I have common keys with different value the key is “AT command” here and I want to make a list of the values and saved them likeatcommand1=value1 and so on. I don’t know how to save the atCommandValues list first and after that save the values. I need to pass them to a second form.
Here is some part of my code:
Can I run an application using syntax above that version on a client PC in a .net framework 4.0?
The client PC is installed with .net Framework 4.0.
I’m using visual studio 2022.
Even if I configure the target framework for an application project to .netframework 4.0, I can still use a .netframework version syntax above that.
Can I run an application with a high version of syntax normally on the client PC?