Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Does this answer address your question on how to get the C# DLLs to work in Visual Studio?

Does this answer address your question on how to get the C# DLLs to work in Visual Studio?

UPDATE:

I tested creating a new Model then saving it and it works for me. Make sure you follow the instructions in the linked answer completely. Also, make sure the path variable in model.save(new OpenStudio.Path(path),true); is a valid path. I used "C:\\Users\\UserName\\Desktop\\test.osm" as the string I passed into OpenStudio.Path(). Note that I escaped the path separators and used a file name with osm extension.