All Questions
Tagged with c# visual-studio
37,732
questions
0
votes
0
answers
19
views
Simultaneous access to the file by many computers from VSTO
I have about 20 comps using my VSTO add-in in MS Word working in local network.
I have to write some statistic from this machines in one xml file common for all of them placeed in shared folder.
How ...
-1
votes
0
answers
56
views
Why does my project try to reference a file path that I cannot find anywhere in the folder?
I'm building an application in C# using VS 2017. I keep getting an error "Could not find file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\FlowMotionRelations.txt'" ...
0
votes
1
answer
28
views
msbuild error: AssemblyRef does not contain a definition for 'Configuration'
I am 'migrating' a visual studio build to a batch script,
I have a one big project that has many dependencies,
i build my project with msbuild.exe using windows batch script,
the main project (client) ...
0
votes
0
answers
23
views
How to disable Resharper TYPE "Tab to accept" suggestion
I've recently installed ReSharper to my Visual Studio 2022, and when I use the "prop" + tab + tab to create a class property, I can rename the type and the property name normally.
The ...
0
votes
1
answer
63
views
Create a control and set in next to another control
Here is the requirement: set a button aside a textbox. So that the button will be located in the right of the textbox.
At first I think it's easy because I can use UserControl, some drop and drag can ...
0
votes
0
answers
22
views
How to export test result present in Visual Studio 2022 Professional? I am working on specflow and there is no nunit used
I have executed my tests and want to export result present in Test Explorer in Visual Studio 2022 Professional v17.10.4. I am working on specflow and there is no nunit used. Is there any way to export ...
0
votes
0
answers
40
views
How to drag card up entirely from the bottom of the card instead of just the left point?
I'm making a card game in 2D where the player can "peek" at their cards. I am currently using the Book - Page Curl tool and have rotated it -90 degrees on the Z-Axis.
It's almost the result ...
-1
votes
0
answers
94
views
How to handle chrome controlled by automated test software in Visual Studio(.net framework) Language C#
How to handle Chrome controlled by automated test software in Visual Studio(.net framework) Language C#
When I run automated test cases, chrome has a infobar stating - chrome controlled by automated ...
-1
votes
2
answers
57
views
Add space after specified data using regular expression in Visual Studio
As we all know, Visual Studio has very powerful text editing functions. Now there are hundreds of thousands of data in my txt file. I made a wrong operation, which caused some problems with the data.
...
-1
votes
1
answer
43
views
is this scriptable object script for unity correct?
using TMPro;
public class InstanziaOggetti : MonoBehaviour
{
public ObjectScriptable[] ObjectX;//name of the scriptableObject
public TMP_Text text;//3d text that will be instantiated above the ...
-1
votes
0
answers
36
views
Error NETSDK1005 Assets file , Ensure that restore has run and that you have included 'net8.0-android' in the TargetFrameworks for your project
i was developing maui app using windows 11 then i downgrade to windows 10 .
now this error appears with me .
**"Error (active) NETSDK1005 Assets file 'D:\Csharp\Maui\IdealDiagnosis.Maui\...
-2
votes
0
answers
34
views
View method not found in controller function, not showing up in method list
I'm currently working on an ASP.NET Core project using Visual Studio, and I've encountered an issue where the View() method is not showing up in IntelliSense within one of my controller functions. ...
2
votes
1
answer
38
views
Strange Strings in HTML Code of New ASP.NET Core Razor Projects in Visual Studio 2022
I'm encountering an issue when creating new ASP.NET Core web app (Razor) projects using Visual Studio 2022 (Community Edition 17.10.4) with .NET 8.0. Without making any modifications, I see strange ...
-1
votes
0
answers
125
views
How to Target Both .NET Framework 4.8 and .NET 8.0 in a Single Project?
I have a project currently targeting .NET Framework 4.8, and I want to extend its compatibility to also target .NET 8.0. Is there a way to set up my project so that it can be built and run on both ...
-2
votes
1
answer
87
views
Can't resolve System.Windows.Control.Image from being created instead of System.Drawing.Image
I'm working on moving a C# program into a WPF application and in order to export files from records I need to use the following code:
// Construct _imgfiles from the records
string _imgfile = ...