RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

61 Users Online (60 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Workflow & Implementation >> API & Third Party Apps >> Revit TotD - 7.7.09: Budget API Debugging

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Jul 7, 2009 at 11:24:09 PM | Revit TotD - 7.7.09: Budget API Debugging

#1

rkitect


active
rkitect Avatar

Joined: Thu, Dec 16, 2004
792 Posts
4 Stars: 29 Votes


Hey gang.  Normally I would post this in the Revit Tips and trick, but it relates more to API so I think it's appropriate to place today's TotD here.  You can see the Tip in it's entirety at http://revittotd.com/07/432 .  Enjoy!

 

Yes, I have begun my venture into the world of Revit API programming, so you'll probably start to see a few TotDs that deal with working with the Revit API.  Today's is one for those of you that are cheap (or unemployed  like myself) and want to use the free Visual Studio Express edition as your code authoring environment but still want to do live debugging.

The issue here is that Miscrosoft lovingly excluded the StartAction option in the debugging properties for your project.  Well, fortunately, they also made it possible to include a StartAction for those of us that know a little something about Google searches and XML Smile

 

Including Revit as a Debug Application for debugging in Visual Studio Express:

  1. Notice that there is no StartAction option in the debugging tab in Visual Studio Express. 
  2. Close Visual Studio Express
  3. Open the .csproj.user (or vbproj.user) file in Notepad.
  4. Add the lines (shown below) needed so that your final file looks like this:  (see tip in link, this editor doesn't like the scripting format)
  5. Save the user settings file, reopen your project and debug.  Revit should now open for debugging!

I know, I kinda blind sided you guys with this one.  But it is pertinent to Revit, maybe just not to you! Thanks again for stopping by, have a great day and I will see you next time for another Revit TotD!

-Carl



Edited on: Tue, Jul 7, 2009 at 11:30:08 PM

-----------------------------------

-//------------------------

Carl - rkitecsure[at]gmail.com

Need help? I'm probably in my chat room!

You fell victim to one of the classic blunders. The most famous is never get involved in a land war in asia, but only slightly less well known is this! Never go in against a Sicilian when death is on the line!

This user is offline

View Website

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Recommended build for a $1500-$2500 budget

Workflow & Implementation >> Hardware

Wed, Nov 5, 2008 at 11:03:49 PM

5

Revit 2013 API

Workflow & Implementation >> API & Third Party Apps

Mon, Dec 31, 2012 at 10:32:36 AM

1

budget automatic

Community >> The Studio

Tue, Nov 15, 2022 at 10:18:05 AM

0

Add size_lookup formula via Revit API

Workflow & Implementation >> API & Third Party Apps

Mon, Mar 21, 2016 at 8:53:25 AM

0

Revit TotD – 2.19.10 | Dimension Formulas

Revit Structure >> Tips & Tricks

Fri, Feb 19, 2010 at 10:29:46 AM

0

Site Stats

Members:

1996870

Objects:

22885

Forum Posts:

152179

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 1.8197

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights