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 Change Author in new Projects (Read 3997 times)
Teluel
Newbies
*
Offline


Posts: 4
Joined: Apr 26th, 2018
Change Author in new Projects
Apr 26th, 2018 at 2:03pm
Print Post  
After creating a new Project or Library Project I got some pre filled files like in the attached png. I would like to change the "Author: "-field value without losing the timestamp and projectname, but I can't find any location, where an Author is mentioned. How can I do that?

I already looked in [Visual Studio 2017 community]\Common7\IDE\ProjectTemplates\VC\General\", but if it's there, I don't know how this setting is named. All general VS- and Visual-Micro-Settings didn't had any effect at all.

Thanks in advice, Teluel
« Last Edit: Apr 26th, 2018 at 2:08pm by Teluel »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Change Author in new Projects
Reply #1 - Apr 26th, 2018 at 2:14pm
Print Post  
I think we just use the standard visual studio user name.

Your screen shot does not show the top of the IDE where you can see your user/account name.

What does that show?
  
Back to top
WWW  
IP Logged
 
Teluel
Newbies
*
Offline


Posts: 4
Joined: Apr 26th, 2018
Re: Change Author in new Projects
Reply #2 - Apr 26th, 2018 at 2:23pm
Print Post  
I'm logged in with my VS-Account. The author "Test" seems to come from my win7-User-Account
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Change Author in new Projects
Reply #3 - Apr 30th, 2018 at 2:33pm
Print Post  
Which menu or wizard command(s) are you using to create the code files?

In most cases the visual studio template param $username$ is used.

https://msdn.microsoft.com/en-us/library/eehb4faa.aspx?f=255&MSPPError=-21472173...


You can create your own templates they are just zip files.

The visual micro assembly location is shown in tools>options>visual micro>system>assemblylocation. There is a project templates folder with the zip files of the templates but vs might have copied them to another location.

There are a few visual studio template locations which can be found in tools>options



« Last Edit: Apr 30th, 2018 at 2:39pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Teluel
Newbies
*
Offline


Posts: 4
Joined: Apr 26th, 2018
Re: Change Author in new Projects
Reply #4 - May 6th, 2018 at 1:14am
Print Post  
Thank you very much. I found the directory where you're templates are stored after looking in tools>options>visual micro>system>assemblylocation and made my own templates.  Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Change Author in new Projects
Reply #5 - May 6th, 2018 at 12:38pm
Print Post  
Great. Hopefully you put your templates in one of the standard vs template folders so when you update visual micro your templates continue to be available? (Visual studio changes the install folder for every update of visual micro)
« Last Edit: May 6th, 2018 at 12:38pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Teluel
Newbies
*
Offline


Posts: 4
Joined: Apr 26th, 2018
Re: Change Author in new Projects
Reply #6 - May 9th, 2018 at 7:28pm
Print Post  
No, I put them in my git repository. And I don't know why the location of my templates matters. I mean, if there would be a conflict with the template after an update of visual micro, should that concern the templates in standard vs template folder as well, or do I missing something?

Anyway, I keep in mind, that there could be some issues after an update of visual micro. Thanks for the advice.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Change Author in new Projects
Reply #7 - May 9th, 2018 at 8:05pm
Print Post  
The only benefit of the standard vs folders is that they will still exist are a visual micro update.

If you created new/clone templates then Visual studio won't see your templates after a visual micro update because the visual micro folder name will change.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint