Skip to content

Compile with Visual Studio 2022? #2

@ED-robert

Description

@ED-robert

I'm trying to compile this with Visual Studio 2022, and first I got a complaint that the "AssemblyInfo.cs" file was missing, so I removed it from the .csproj file which made it build.

However, when I run the exe using a minimal STEP file as an argument, I get the following:

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\data\ap203e2_mim_lf.exp'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path)
   at STEP_Parser.EXPRESS_Schema.ParseSchema() in C:\Users\X\Downloads\STEP-file-parser\EXPRESS_Schema.cs:line 127
   at STEP_Parser.EXPRESS_Schema..ctor(String[] filenames) in C:\Users\X\Downloads\STEP-file-parser\EXPRESS_Schema.cs:line 42
   at STEP_Parser.Program.Main(String[] args) in C:\Users\X\Downloads\STEP-file-parser\Program.cs:line 12

I'm an industrial designer and not a developer, so I'm wondering if someone who sees this could please assist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions