Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS does not save files before compiling (Read 2118 times)
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
VS does not save files before compiling
Aug 14th, 2023 at 5:46pm
Print Post  
I'm desperate. For some time VS2022 no longer saves changed files before the build. I've been looking for a long time and many google requests how to set the files to be saved again before compiling. My VM version is up to date.
Can someone help me?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS does not save files before compiling
Reply #1 - Aug 14th, 2023 at 5:59pm
Print Post  
Vs normally does this automatically, Visual Micro plays no part in it. Please provide your vcxproj file from the project folder and also "help>about visual studio>copy info"
  
Back to top
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: VS does not save files before compiling
Reply #2 - Aug 14th, 2023 at 6:18pm
Print Post  
Info from VS2022
-----------
Microsoft Visual Studio Community 2022
Version 17.7.0
VisualStudio.17.Release/17.7.0+34003.232
Microsoft .NET Framework
Version 4.8.09032

Installierte Version: Community

Visual C++ 2022   00482-90000-00000-AA080
Microsoft Visual C++ 2022

Arduino IDE for Visual Studio by Visual Micro   22.0
Visual Micro is an Arduino Compatible IDE for Visual Studio 2022. For more information and forum please visit www.visualmicro.com.

ASP.NET and Web Tools   17.7.265.7160
ASP.NET and Web Tools

Azure App Service-Tools v3.0.0   17.7.265.7160
Azure App Service-Tools v3.0.0

C#-Tools   4.7.0-3.23373.1+7829f6b85177e96de89bc67f32b61d74ac590f5a
C#-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.

Linux-Kernspeicherabbild debuggen   1.0.9.33920
Aktiviert das Debuggen von Linux-Kernspeicherabbildern.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet-Paket-Manager   6.7.0
NuGet-Paket-Manager in Visual Studio. Weitere Informationen zu NuGet finden Sie unter https://docs.nuget.org/.

Sandcastle Help File Builder   SHFB
Visual Studio integration for the Sandcastle Help File Builder.
https://GitHub.com/EWSoftware/SHFB

Testadapter für Boost.Test   1.0
Aktiviert Visual Studio-Testtools mit Komponententests, die für Boost.Test geschrieben wurden. Nutzungsbedingungen und Drittanbieterhinweise stehen im Installationsverzeichnis der Erweiterung zur Verfügung.

Testadapter für Google Test   1.0
Ermöglicht die Verwendung von Visual Studio-Testtools mit Komponententests, die für Google Test geschrieben wurden. Die Nutzungsbedingungen und Drittanbieterhinweise stehen im Installationsverzeichnis der Erweiterung zur Verfügung.

TypeScript-Tools   17.0.20628.2001
TypeScript-Tools für Microsoft Visual Studio

Visual Basic-Tools   4.7.0-3.23373.1+7829f6b85177e96de89bc67f32b61d74ac590f5a
Visual Basic-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.

Visual C++ für Linux-Entwicklung   1.0.9.33920
Visual C++ für Linux-Entwicklung

Visual F# Tools   17.7.0-beta.23314.10+e612cf93b989503c89e3a5830090062b7ab5e143
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
KI-gestützte Entwicklung für Visual Studio.
  
Back to top
 
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: VS does not save files before compiling
Reply #3 - Aug 14th, 2023 at 6:21pm
Print Post  
the vcxproj file

sorry for the long post. When I tried to use an attachment I got a "internal server error"
« Last Edit: Aug 14th, 2023 at 6:28pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS does not save files before compiling
Reply #4 - Aug 14th, 2023 at 6:30pm
Print Post  
No problem but half the post was missing. there is a cap. Please email.

I would also try a repair of visual studio by closing it and going to add or remove programs > vs > ... repair
  
Back to top
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: VS does not save files before compiling
Reply #5 - Aug 14th, 2023 at 6:30pm
Print Post  
I created a new project. The auto save works fine.
I deleted the .vs and __vm folder and restarted the vs2022. Now it works again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS does not save files before compiling
Reply #6 - Aug 14th, 2023 at 7:07pm
Print Post  
That's easier, thanks for the update. If it happens again please let us know.
« Last Edit: Aug 14th, 2023 at 7:08pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint