How can I deploy the start configuration for Atmel Studio?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,
at my school I need to use AtmelStudio 7 with mandatory user profiles, i.e. no changes in the user profile will be saved after logout.

 

The Problem:
evertime you log in to a PC, you need to import the AS7 settings from a backup folder.

Changes to the config settings, project path and so on can be automatically saved (Tools/Options/Environment/Import and Export Settings...), but the next time AS7 won't automatically read this settings as the path settings are lost at logout.

 

So here's my questions:

- how do I name and where do I need to put the settings file (*.vssettings) so AS7 will detect and open it automatically?
  This should be kind of the default location and name for the settings file.

- if not applicable, is there any registry information I can tweak?
 

Thanks in advance for any help!

Andreas

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

When you google "Visual Studio" (because AS7 is really just VS2015) you arrive here:

 

https://docs.microsoft.com/en-us/visualstudio/ide/environment-settings?view=vs-2019

 

I notice then that AS7 also has:

 

 

When you select "import" you will likely see something like:

 

 

if you save your chosen setting to a memory stick or something I guess you can start by using "import" each time?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yep, found that, too. 
But I would like to have the settings "preinstalled".

I also found out now that although the local installation normally keeps the last project folder, for our purposes with "blank" user profiles you need to actively set them in options (needed to find them first, though, in order to be able to import them next time you log in.

 

There are also quite a bunch of registry settings that correspond to the settings in options.

I guess those are used in case the last saved settings file is missing or corrupt, but I'm not sure and don't have the time to experiment in order to find out.

 

Can anyone share a bit mor light on this?

Thanks,
Andreas

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Perhaps the hint was too subtle above? The fact is that AS7 is just a cut-down version of MS VS 2015 so first find the answer for what you want to do for VS2015 (Stack Overflow is awash with answers about it!) and then see if you can find the equivalent mechanism in AS7. It may not be there as it is quite cut-down but things like registry entries used and so on will probably be very similar/identical.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sounds like something that you should be getting your IT people involved in.

 

IF the IT policies are actively hindering what you need to do, then IT need to know that!

 

I usually find the opposite problem with IDEs: they put user-specific stuff into Project files which should not be user-specific - thus messing up version control

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...