Adding views

I am trying to add multiple views to a Project file using Aspose.Tasks for python via .NET. Here is a base snippet below that attempts to add multiple views but I get a
RuntimeError: Proxy error(ArgumentException): An item with the same key has already been added. Key: 0 (Parameter ‘key’).
It seems creating a view with tsk.View() always creates a view with uid of ‘0’. Is there any way to add multiple views to a Project file without running into this issue?

project = tsk.Project()

v1 = tsk.View()
v1.name = “View1”
project.views.append(v1)

v2 = tsk.View()
v2.name = “View2”
project.views.append(v2)

@dowbuiltNate ,
we need to fix the logic of our side.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-11782

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hey Vasiliy,

I understand that the support policy states that estimated fix time is usually not given (and if given, not promised), however this is a very important piece to our vetting of Aspose as a solution for our company. I was just wondering if you had a rough estimate or knew the likelihood that this will be fixed in the next couple months?

@dowbuiltNate ,
given the critical nature of this scenario, the rough estimate is next 1-2 releases.

The issues you have found earlier (filed as TASKSNET-11782) have been fixed in this update.

Download page