Reply

AllSamples - SolidEdge.Addin

There are 2 projects here, from the ST6 sdk distribution, that don't compile. 

 

1>CSC : error CS1719: Error reading Win32 resource file 'c:\Program Files\Solid Edge ST6\SDK\API_Samples\Samples\cs\SolidEdge.AddIn.Basic\Resources.res' -- 'The system cannot find the file specified. '

 

There is no file resources.res, and I also can't figure out what in the project is looking for it.  What can I do?

2 REPLIES

Re: AllSamples - SolidEdge.Addin

Alan,

 

I could be mistaken but I believe there were some files missing in the ST6 SDK distribution. I vaguely recall someone else noticing it previously. The samples provided there were copied from a release from https://solidedgesamples.codeplex.com that was available at the time. I would imagine there are newer releases since but most certainly if you download the latest release from CodePlex, it should work as expected.

 

In another thread, we discussed the open source stuff getting moved around. The source code for the samples has been moved to https://github.com/SolidEdgeCommunity/Samples. There you will find the latest code available. I am working on a CodePlex release this week, complete with documentation and videos. If you want to get a jump on the direction you're going to want to take (if you're doing addin development), you can download the latest source at https://github.com/SolidEdgeCommunity/Samples/archive/master.zip. Once unzipped, open ~\Samples-master\src\cs\AddIns\AddInDemo.sln. *Note the VB version has not been updated yet. You'll want to read the Readme.docx as well. I've put a ton of work into making addin development easy, especially compared to the current CodePlex release. The framework is now in place and I'm working on wrapping up everything else to go along with it.

 

If you don't want to mess with any of this until it's documented better, I'd understand. If you're like me though, you'll want to look at it.

Jason Newell
Applications Architect
www.jasonnewell.net

Re: AllSamples - SolidEdge.Addin

Just to follow up, I have released a new download Samples for Solid Edge on CodePlex. See the AddInDemo.sln for an example of how to create an addin.

Jason Newell
Applications Architect
www.jasonnewell.net