New Studio 7 Problem???

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

About a year ago I upgraded from Studio 6 to Studio 7.

 

I have been using it with the C compiller. Minimum problems.

 

Yesterday I loaded an assembly language project that was created with Studio 6. Studio 7 did what ever it does to make a Studio 6 program Studio 7 compatible.

 

But I am having a problem with where it is putting some of the files.

 

I wanted to look at the MAP and HEX files. I found it is placing them is sub-directory called "DEFAULT".

 

The Solution Explorer cannot find them.

 

Is there a way to get Studio 7 to put these files in the main project directory like they were in Studio 6?

 

Bob Macklin

Seattle, Wa

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

I think I just found out how to look at them!

 

BY ACCIDENT!!

 

Bob Macklin

Seattle, Wa

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

Normal behaviour for Visual/Atmel Studio is to have default build configurations called "Debug" and "Release". Any temporary, auto-generated file created as part of the build (hex, map, lst etc) are then usually created in the directory for the active config which would be projdir\Debug\ or projdir\Release\

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

That's the way my MS VC++ works.

 

So how do I tell it what directory to use?

 

Bob Macklin

Seattle, Wa

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


 

Visual (and I guess Atmel) Studio have "Configuration Manager" where you can add other "build types" besides the "Debug" and "Release" they give you by default (which can also be deleted by Config Manager). So you could have a "Foo" and a "Bar" build type in which case the build would direct temporary/output files to project_dir\Foo or project_dir\Bar

 

To be honest it doesn't really matter too much where they go because the Solution Explorer has an "Output Files" section in which it lists the files that are generated - so if need to access one then just select it from there. Also if you need to know where it is actually located then you can use "Property Window" to see that too:

 

 

Oh and this is "Configuration Manager" that I mentioned above. Get to it from the Build menu - bottom entry is "Configuration Manager" which leads to:

 

 

That lists the existing "Debug" and "Release" then offers the option to create "<New...>"

 

Last Edited: Thu. Jun 20, 2019 - 08:49 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My Studio 7 only had a "DEFAULT" sub-directory.

I was able to create "DEBUG" and  "RELEASE" sub-directories.

 

Bur they are clones od the original DEFAULT sub-directory.

 

I have to figure out how to get Studio 7 to put the code in the proper sub-directory.

 

Bob Macklin

Seattle, Wa