Poldek
Mechanical
- Nov 27, 2011
- 6
Hi
I'm new in SolidWorks API programing.I'm working in C# programing language. I made some programs and this programs work well. But I have a problem with a programs example from SolidWorks API HELP. I copy the program code from HELP and paste it in SolidWorks API editor. When I run this program there are four mistakes:
1. Error 1 'Macro1.csproj.SolidWorksMacro' does not contain a definition for 'swApp'
2.Error 2 The name 'Main' does not exist in the current context
3.Error 3 'Macro1.csproj.SolidWorksMacro' does not contain a definition for 'swApp'
4.Error 4 The name 'Main' does not exist in the current context
Please help me how can I fix this problem
I'm new in SolidWorks API programing.I'm working in C# programing language. I made some programs and this programs work well. But I have a problem with a programs example from SolidWorks API HELP. I copy the program code from HELP and paste it in SolidWorks API editor. When I run this program there are four mistakes:
1. Error 1 'Macro1.csproj.SolidWorksMacro' does not contain a definition for 'swApp'
2.Error 2 The name 'Main' does not exist in the current context
3.Error 3 'Macro1.csproj.SolidWorksMacro' does not contain a definition for 'swApp'
4.Error 4 The name 'Main' does not exist in the current context
Please help me how can I fix this problem