Inventor Engineer-to-Order

Inventor Engineer-to-Order

Reply
Contributor
cpalmatier
Posts: 17
Registered: ‎01-06-2010
Message 1 of 5 (213 Views)
Accepted Solution

UITools Tutorial in VS: Where are the user designs?

213 Views, 4 Replies
02-13-2013 01:19 PM

I loaded the UITools tutorial solution in VS 2010 (ETO2013R2) to work through the tutorial, but the user designs don't show up in the VS Design Navigator. They do appear in Design Editor if I load the Inventor project. What am I doing wrong?Capture.PNG

 

And a bonus question: What's the deal with the Type 'ErrorHandlerBehavior' is not defined. error. I get it after loading the project.

Chris Palmatier
Training Program Manager
Cruz Bay Custom

It looks like you have only opened the UI Tools Tutorial.sln file. In order to view the UI Tools Tutorial designs in Visual Studio, you also need to use the "Import Inventor Project" command on the file menu, and open the "UI Tools Tutorial.ipj" file. This will create a "UI Tools Tutorial.etoproj" file which will list the designs in the Design Navigator.

 

The Type 'ErrorHandlerBehavior' is not defined error is due to the fact that the sample on the ADN site hasn't been updated to the 2013 R2 version yet. The update will be posted soon. In the meantime, you can open the RemoteUIIntentServices.vb file and replace

 

AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Required), _
ErrorHandlerBehavior()> _

 

with

 

AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Required)> _

 

However, you will also have an error in MainPage.xaml and will need to replace

 

<uiTools:UIProject x:Name="clientProject" ApplicationName="UIToolsTutorial" />

 

with

 

<uiTools:UIProject x:Name="clientProject" />

 

The application name now needs to be set in code. You can use the ETO Silverlight Web application template to see an example of how to do this.

Employee
scott.anderson
Posts: 19
Registered: ‎07-16-2012
Message 2 of 5 (203 Views)

Re: UITools Tutorial in VS: Where are the user designs?

02-13-2013 04:49 PM in reply to: cpalmatier

It looks like you have only opened the UI Tools Tutorial.sln file. In order to view the UI Tools Tutorial designs in Visual Studio, you also need to use the "Import Inventor Project" command on the file menu, and open the "UI Tools Tutorial.ipj" file. This will create a "UI Tools Tutorial.etoproj" file which will list the designs in the Design Navigator.

 

The Type 'ErrorHandlerBehavior' is not defined error is due to the fact that the sample on the ADN site hasn't been updated to the 2013 R2 version yet. The update will be posted soon. In the meantime, you can open the RemoteUIIntentServices.vb file and replace

 

AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Required), _
ErrorHandlerBehavior()> _

 

with

 

AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Required)> _

 

However, you will also have an error in MainPage.xaml and will need to replace

 

<uiTools:UIProject x:Name="clientProject" ApplicationName="UIToolsTutorial" />

 

with

 

<uiTools:UIProject x:Name="clientProject" />

 

The application name now needs to be set in code. You can use the ETO Silverlight Web application template to see an example of how to do this.

Contributor
cpalmatier
Posts: 17
Registered: ‎01-06-2010
Message 3 of 5 (197 Views)

Re: UITools Tutorial in VS: Where are the user designs?

02-13-2013 06:21 PM in reply to: scott.anderson

Thanks Scott. Seems like the UI Tools tutorial is trying to be reference material AND tutorial at the same time. It could use some steps :smileyhappy:.

Chris Palmatier
Training Program Manager
Cruz Bay Custom
Board Manager
stevetrudeau
Posts: 16
Registered: ‎07-19-2010
Message 4 of 5 (172 Views)

Re: UITools Tutorial in VS: Where are the user designs?

02-15-2013 03:15 PM in reply to: cpalmatier

The updated Server samples are now available:

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=18361292

Contributor
cpalmatier
Posts: 17
Registered: ‎01-06-2010
Message 5 of 5 (161 Views)

Re: UITools Tutorial in VS: Where are the user designs?

02-16-2013 09:47 AM in reply to: stevetrudeau

Thanks Steve.

Chris Palmatier
Training Program Manager
Cruz Bay Custom
Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.